package week_02;

public class Node {

    public Node pre;
    public Node next;
    public int key;
    public int value;

    public Node(int key, int val) {
        this.key = key;
        value = val;
    }

    public Node() {

    }

    public Node(int val, Node next, Node pre) {
        this.value = val;
        this.next = next;
        this.pre = pre;
    }
}
